package org.shop.dao;

import java.util.List;
import java.util.Map;

import org.shop.dao.base.BaseDaoMapper;
import org.shop.entity.SupplierGoods;

public interface SupplierGoodsMapper extends BaseDaoMapper<SupplierGoods, Long>{
	/**
	 * 获取供应商商品列表
	 * @param paramMap
	 * @return
	 */
	public List<Map<String, Object>> getSupplierGoodsList(Map<String, Object> paramMap);
	/**
	 * 获取供应商商品数量
	 * @param paramMap
	 * @return
	 */
	public int getSupplierGoodsCount(Map<String, Object> paramMap);
	
	/**
	 * 通过订单id获取供应商的userid（自营用于提醒发货）
	 * @param orderId
	 * @return
	 */
	public Map<String,Object> getUserIdByOrderId(Long orderId);
	/**
	 * 通过供应商id查询商品信息
	 * @param supplierGoodsId
	 * @return
	 */
	public Map<String, Object> getGoodsInfoBySupplierGoodsId(Long supplierGoodsId);
	
}